package ext.trace.kernel;

public class KernelTri implements Kernel
{
    
    
    
    
    public KernelTri()
    {
        
    }
    
    
    public double eval(double aRadius, double aExtent)
    {
        double rExtent = 1.0 / aExtent;
        return (1.0 - aRadius * rExtent) * 2.0 * rExtent;
    }
    
}
